package com.example.mapper;

import com.example.entity.dto.weixiubaoyang.ReceiptMouldPageDto;
import com.example.entity.dto.weixiubaoyang.ReturnMouldPageDto;
import com.example.entity.yifei.Eqtts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.yifei.Eqttu;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lan
 * @since 2024-11-04
 */
public interface EqttsMapper extends BaseMapper<Eqtts>  {

    /**
     * 通过单别，获取最新的单号
     * @param ts001
     * @return
     */
    String getNewTS002(String ts001);

    /**
     * 分页获取单头信息
     * @param receiptMouldPageDto
     * @return
     */
    Page<Eqtts> pageQueryEqtts(ReceiptMouldPageDto receiptMouldPageDto);


}
